/*
 * @Author: leo
 * @Date: 2024-02-26 13:45:15
 * @LastEditors: leo
 * @LastEditTime: 2024-02-26 13:58:25
 * @Description:
 */
import { Controller, Get, Inject } from '@nestjs/common';
import { AppService } from './app.service';
import { ListService } from './list/list.service';

@Controller()
export class AppController {
  constructor(
    private readonly ListService: ListService,
    @Inject('ABC') private readonly appService: AppService,
    @Inject('Test') private readonly shop: string,
    @Inject('Test2') private readonly test2: number,
  ) {}

  @Get()
  getHello(): string {
    return this.ListService.findAll();
  }
}
